import request from '@/utils/request'

export function menu(type) {
  return request({
    url: '/menus/',
    method: 'get',
    params: { type }
  })
}
